package com.qf.mapper;

import com.qf.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 10202
 * @version V1.0
 * @Project Day47_again
 * @Package com.qf.mapper
 * @Date 2023/4/23 17:45
 */
public interface EmpMapper {
    List<Emp> selectAll();


    List<Emp> selectBy(@Param("name") String name,@Param("age") int age);

    List<Emp> selectBySome(@Param("name") String name, @Param("age") Integer age,@Param("salary") Integer salary);

    void insertEmp(@Param("empList") List<Emp> empList);
}
